home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / program / flogger.zip / SORTING.H < prev    next >
C/C++ Source or Header  |  1992-12-30  |  797b  |  35 lines

  1.  
  2. /* use the next line if your C library does not have memmove */
  3.  
  4. #define memmove(a, b, n) bcopy(b, a, n)
  5.  
  6. /* use the next line if your C library does not have memcpy */
  7.  
  8. /* #define memcpy(to, from, n) bcopy(from, to, n)  */
  9.  
  10.  
  11. #define MAYBE_THRESHOLD 8
  12. extern int _maybe_sorted;
  13.  
  14. extern void exit();
  15. extern int qsort();
  16.  
  17. extern int merge_sort();
  18. extern int heap_sort();
  19. extern int bubble_sort();
  20. extern int quick_sort();
  21. extern int shell_sort();
  22. extern int insertion_sort();
  23. extern int bogo_sort();
  24.  
  25. /* It's more important that these represent common sizes on your
  26.    machine than that they represent a certain number of bytes. */
  27.  
  28. typedef short               chunk2;
  29. typedef long                chunk4;
  30. typedef double              chunk8;
  31.  
  32. #define FLOGGER_VERSION 0
  33. #define FLOGGER_PATCHLEVEL 0
  34.  
  35.